import { Toast } from 'vant';

export const downLoadFiles = (axios, path) => {
    let urls = global.baseurl + '/api/download?path=' + path

    axios.get('/api/download', { params: {path: urls}}).then(res => {
        if(res.status === 200) {
            Toast('正在下载');
        }else{
            Toast('下载失败');
        }
    })
}
